package com.whj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whj.domain.entity.Link;
import com.whj.domain.response.ResponseResult;

import java.util.List;


/**
 * 友链(Link)表服务接口
 *
 * @author wanghaijun
 * @since 2023-05-23 11:56:38
 */
public interface LinkService extends IService<Link> {

    ResponseResult getAllLink();

    ResponseResult selectLinkByPage(Integer pageNum, Integer pageSize, String name, String status);

    ResponseResult addLink(Link link);

    ResponseResult updateLink(Link link);

    ResponseResult delete(List<String> id);

    ResponseResult selectLinkById(Long id);

    ResponseResult changeStatus(Long id, String status);
}
